Page({
  onShareAppMessage() {
   
  },
  data: {
    contents:'https://tv.swlive.cn/article/index/zldx1'
  },
  copyText: function (e) {
    console.log(e)
    wx.setClipboardData({
      data: e.currentTarget.dataset.text,
      success: function (res) {
        wx.getClipboardData({
          success: function (res) {
            wx.showToast({
              title: '复制成功'
            })
          }
        })
      }
    })
  }



  
})
